package com.itheima.service;

import com.itheima.domain.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author:篍
 * @Date: 2025/07/10 10:31
 * @Description:Fighting TODO
 */

public interface DeptService {
    List<Dept> findAll();
    Integer deleteDeptById(Integer id);
    Integer addDept(Dept dept);

    Dept findOneDeptById(Integer deptId);

    void updateDept(Dept dept);
}
